﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;

namespace SD.IBUS
{
    public interface IOrganizationBIZ
    {
        DataTable ListOrganization(Boolean includeInactive);

        DataTable ListFilteredOrganization(String filterExpression, Boolean includeInactive);

        List<Organization> GetAll(Boolean includeInactive);
        List<Organization> GetOrgByName(string orgname);

        Organization GetById(string orgId);

        void Insert(Organization org);

        void Update(Organization org);

        void Delete(string orgId);

        void SetActive(string OrgId, bool status);
    }
}
